package net.wanho.commons.util;

import org.apache.commons.lang3.RandomUtils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class IDUtil {
    private static final SimpleDateFormat FORMAT = new SimpleDateFormat("yyyyMMddHHmm") ;
    public static String genOrderSeq(){
        return "XS"+FORMAT.format(new Date())+ RandomUtils.nextInt(1000,10000) ;
    }
}
